<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<style type="text/css">
		 *{
		 	margin: 0;
		 	padding: 0;
		 }
		 .nav{
		 	width: 600px;
		 	height: 50px;
		 	background: #48AD15;
		 	border-radius: 25px;
		 }
		 a{
		 	text-decoration: none;
		 	color: white;
		 	line-height: 50px;
		 	margin-left:20px;
		 	padding:15px 18px;
		 }
		 a:hover{
		 	color: black;
		 	background: white;
		 }
		 .first{
		 	color: black;
		 	background: yellow;
		 	margin-left: 40px;
		 }
	</style>
</head>
<body>
	<div class="nav">
		<a href="" class="first">首页</a>
		<a href="">关于我</a>
		<a href="">文章</a>
		<a href="">心情</a>
		<a href="">相册</a>
		<a href="">留言</a>
	</div>
</body>
</html>